Workflow Nodes
Workflow nodes represent individual execution operations within a BindAI workflow. A node can perform an operation, evaluate information, control execution flow, or coordinate another component of the application. BindAI V1 supports nodes for sequential execution, agents, tools, conditions, loops, parallel execution, joins, and human tasks. The term node describes the role an operation plays in a workflow. It should not be interpreted as a specific publicWorkflowNode class unless that class is exposed by the current BindAI implementation.
What Is a Workflow Node?
A workflow node represents one operation within a larger execution process. Conceptually:Workflow Graph
A workflow can be represented as a graph of connected operations. A simple process is:Supported V1 Node Types
BindAI V1 supports these workflow node types:
These nodes can be combined to create executable workflow graphs.
Start Node
The Start node represents the beginning of a workflow.End Node
The End node represents the completion of a workflow path.Agent Node
The Agent node executes a configured BindAI agent.Agent Input Mapping
Agent nodes can use workflow variables as input. For example:Tool Node
The Tool node executes a registered BindAI tool.Tool Parameter Mapping
Tool nodes can map workflow variables into tool parameters. For example:Agent and Tool Nodes Together
Agent and Tool nodes can be combined:Condition Node
The Condition node controls which workflow path executes next.- Validation
- Routing
- Approval decisions
- Result-based branching
- Workflow control
Condition Expressions
A condition is configured with an expression that determines the selected path. Conceptually:Loop Node
The Loop node allows workflow execution to repeat based on a condition. Conceptually:- Processing collections
- Repeated operations
- Iterative workflows
- Processing items until a condition is satisfied
Parallel Node
The Parallel node starts independent workflow branches.- Independent agent execution
- Independent tool operations
- Separate analysis tasks
- Independent workflow branches
Join Node
The Join node provides the synchronization point after parallel branches.Human Task Node
The Human Task node pauses workflow execution until a human action is provided.- Approval workflows
- Content review
- Sensitive actions
- Manual verification
- Human-in-the-loop decisions
Human Task Persistence
When a Human Task is waiting, the workflow instance can remain persisted. Conceptually:Node Execution State
Workflow execution maintains state while moving between nodes. Conceptually:- Input values
- Agent outputs
- Tool results
- Intermediate application data
- Execution information
- Human-task information
Passing Results Between Nodes
Results produced by one node can be consumed by later nodes. For example:Node Context
Workflow operations execute within workflow execution state. Conceptually:Connection-Backed Tool Nodes
Connections can participate in workflows through connection-backed tools. The architecture is:Memory and Nodes
Agents executed through workflow nodes can use configured Memory. For example:- Workflow state supports workflow execution.
- Memory provides retained agent or application information.
Knowledge and Nodes
Agents executed through workflow nodes can also use configured Knowledge. For example:Node Connections
Connections determine where execution proceeds. A sequential graph is:Node Independence
Well-designed workflow nodes should remain focused. A good node generally:- Has one clear responsibility
- Reads only the information it needs
- Produces a clear result
- Updates state predictably
- Avoids unnecessary coupling
Node Failure
Individual nodes can fail during workflow execution. For example:Conditional Failure Handling
A workflow can use conditions to route based on available execution values. For example:Custom Workflow Operations
Applications may need domain-specific behavior. That behavior should generally be implemented as an appropriate BindAI component, such as an agent or tool, and then composed into the workflow. For example:Node Connections and Data Flow
Workflow structure and data flow are related but distinct. The graph determines execution order:Visual Node Construction
BindAI Studio provides a visual editor for constructing workflow nodes and their connections. The editor supports:- Adding workflow nodes
- Positioning nodes
- Connecting nodes
- Configuring node properties
- Saving workflow definitions
- Loading saved workflow definitions
Testing Workflow Nodes
Node behavior should be tested both individually where appropriate and as part of complete workflows. Important V1 cases include:- Agent execution
- Tool execution
- Condition true path
- Condition false path
- Loop termination
- Parallel execution
- Join synchronization
- Human-task approval
- Human-task rejection
- Connection-backed tool execution
- Workflow persistence
- Node failure handling
API Accuracy
This documentation intentionally does not assume public classes such as:- The actual import path.
- The actual constructor or factory.
- The actual parameters.
- The actual execution behavior.
- Tests demonstrating the behavior.
Best Practices
When designing workflow nodes:- Give each node one clear responsibility.
- Keep reasoning and deterministic execution separate.
- Pass data through explicit workflow variables.
- Keep conditions simple and readable.
- Give loops clear termination conditions.
- Use parallel execution only for independent work.
- Use Join nodes to synchronize parallel branches.
- Use Human Tasks for explicit human decisions.
- Keep external operations behind tools or connection-backed tools.
- Avoid unnecessary coupling between nodes.
- Define important failure paths explicitly.
- Test successful and failure paths.
- Document concrete APIs only after implementation verification.
Current BindAI V1 Scope
The current BindAI workflow node foundation supports:- Start nodes
- End nodes
- Agent nodes
- Tool nodes
- Condition nodes
- Loop nodes
- Parallel nodes
- Join nodes
- Human Task nodes
- Workflow variables
- Workflow state
- Persistent workflow execution state in Studio
- Connection-backed tools
- Webhook connections
- Agent Memory
- Agent Knowledge
- Visual workflow construction
- Studio API execution
Deferred Workflow Features
The following workflow features are outside the current V1 scope:- Advanced retry policies
- Advanced timeout policies
- Workflow scheduling
- Automation triggers
- Distributed workflow execution
- Advanced workflow monitoring
- Additional external connection providers
- Advanced Memory administration
- Advanced Knowledge administration
- MCP management
Summary
Workflow nodes represent the individual operations that make up a BindAI workflow. BindAI V1 provides nodes for:A workflow coordinates operations; each node should remain focused on its own responsibility.Specific node classes and builder methods should only be documented when they are part of the verified public BindAI API.
